<template>
    <div>
        <my-top-nav></my-top-nav>
        <!-- 地图组件 -->
        <my-map
            :mapCtrlTools="mapCtrlTools"
            :lyrdata="lyrdata"
            :mapParams="mapParams"

            :pn="pn"
        >
            <!--:spatialQueryConditions="spatialQueryConditions"-->
        </my-map>
    </div>
</template>

<script>
    import TopNav from '../components/TopNav.vue';
    import MyMap from '@/components/GIS/CommonMap'

    export default {
        name: 'dx1',
        components: {
            MyMap,
            MyTopNav:TopNav
        },
        data() {
            return {
                pn:'custom',//parent_name，即告诉子组件，当前父组件是谁，以便响应不同的业务逻辑
                mapCtrlTools: this.MYCONFIG.mapCtrlTools.custom,
                lyrdata: this.MYCONFIG.layersDataByFilter.custom,
                mapParams: this.MYCONFIG.mapParams.custom,
                //spatialQueryConditions:this.MYCONFIG.spatialQueryConditions.custom,
            }
        },
        methods: {
        },
        created() {
        },
    }
</script>

<style scoped>

</style>
